﻿using System;

namespace Model
{
	public class StringAttribut : Attribut<string>
	{

		public StringAttribut(string name, string value)
			: base(name, value)
		{
		}

		public override bool Equals(Object obj)
		{
			return Value.Equals(obj);
		}

		public override string ToString()
		{
			string returnstring = "stringAttribut: Name=" + Name + ", Wert=" + Value;
			return returnstring;
		}

		public override Attribut Copy()
		{
			return new StringAttribut(name, value);
		}
	}
}
